package com.duke.demo.dao;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.duke.demo.entity.Student;
import com.duke.demo.mapper.StudentMapper;

@Repository("/studentMapper")
public class StudentDaoImpl implements IStudentDao {

	@Autowired
	private StudentMapper studentMapper;

	@Override
	public List<Student> getStudentList(Student s) {
		return studentMapper.getStudentList(s);
	}
}
